package org.gis.mapserver.plugins.rasterimage;

import org.objective.base.BaseType;
import org.objective.base.Storage;
import org.objective.base.TypeModule;

import static org.utils.fp.collection.CollectionFactory.*;

/**
 *
 * @author gus
 */
public class RasterImageTypeModule implements TypeModule
{
    @Override
    public String getLibraryName()
    {
        return "RasterImage Type module";
    }

    @Override
    public BaseType[] getBaseTypes(Storage storage)
    {
        long id = storage.generator().nextID(RasterImageType.class);
        return array(new RasterImageType(storage, id, this));
    }
}
